package com.chinaunicom.circularref;

import lombok.Data;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * @author liry
 * @version 1.0
 * @date Created on 2021/11/25 15:38
 * Description:
 */

@Data
public class TestB {

	private TestC testC;

	@Autowired
	public TestB(TestC testC){
		this.testC = testC;
	}

	public void b() {
		this.testC.c();
	}

	public void setTestB(TestC testC) {
		this.testC = testC;
	}

	public TestC getTestA() {
		return this.testC;
	}

	public TestB(){}
}
